//
//  NetworkTools+Extension.swift
//  微博Swift
//
//  Created by  justinchou on 16/2/25.
//  Copyright © 2016年  justinchou. All rights reserved.
//

import Foundation

extension NetworkTools {
    
    var oauthURL: NSURL {
        
        let urlString = "https://api.weibo.com/oauth2/authorize?client_id=\(appkey)&redirect_uri=\(redirectUri)"
        
        return NSURL(string: urlString)!
    }
}